package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-精益运营-城市人员表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_operator_city_person")
@ApiModel(value = "ErpOperatorCityPerson对象", description = "ERP系统-精益运营-城市人员表")
public class ErpOperatorCityPerson implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联运营城市ID")
    private Integer cityId;

    @ApiModelProperty("人员编号")
    private String num;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别 0-未知 1-男 2-女")
    private Integer sex;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("身份证号")
    private String cardid;

    @ApiModelProperty("入职日期")
    private Date enterDate;

    @ApiModelProperty("离职日期")
    private Date leaveDate;

    @ApiModelProperty("离职原因")
    private String leaveReason;

    @ApiModelProperty("状态1-在职 2-离职")
    private Integer status;

    @ApiModelProperty("工作职责 1-主管 2-换电 3-调度 4-维修 5-巡检，多个逗号隔开")
    private String jobs;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
